param ()

# not work by now
# see: https://github.com/dotnet/msbuild/issues/1596
$env:DOTNET_CLI_UI_LANGUAGE = "en-US"
$env:VSLANG = "1033"
# chcp 65001

# $VSROOT = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise"
$VSROOT = "C:\Program Files\Microsoft Visual Studio\2022\Preview"
& "$VSROOT\MSBuild\Current\Bin\MSBuild.exe" @( `
    ".", `
    "/p:Configuration=Debug", `
    "/p:Platform=x64", `
    "/maxcpucount:4"
)
